package search

import (
	"portsystem/database"
	"portsystem/models"
)

func GetMenuByLevel(level int) (error, []models.Menu) {
	err, menuData := database.GetMenuByLevel(level)
	return err, menuData
}
